package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName seat
 */
@TableName(value ="seat")
@Data
public class Seat implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 座位编号
     */
    private String number;

    /**
     * 所属自习室ID
     */
    private Long studyRoomId;

    /**
     * 0:无预约, 1:有空闲, 2:已约满, 3:维护中
     */
    private Integer seatStatus;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}